﻿using System;
using System.Linq.Expressions;

namespace Entropy.Ext
{
    public class AstExpression : Expression
    {
        protected Type InternalType;

        public AstExpression(Type type)
        {
            InternalType = type;
        }

        public override ExpressionType NodeType
        {
            get { return ExpressionType.Extension; }
        }

        public override Type Type
        {
            get
            {
                return InternalType;
            }
        }
    }
}